{extend name="base/main" }

{block name="body"}
<style>
    .new-list {
        margin: 10px;
    }

    .new-list>li:nth-child(4n+1) {
        float: left;
        clear: left;
    }

    .new-list li {
        width: 25%;
        text-align: center;
        font-size: 14px;
        margin-bottom: 10px;
    }

    .new-list li img {
        width: 95%;
        height: 100px;
        border-radius: 5px;
    }
</style>
<div class="lmain">
    <div class="lmain-l">
        <p class="dqwz"><img src="/assets/index/dqwzbj.gif">
            当前位置：<a href="<?php echo $webhost; ?>" target="_self">
                <?php echo $small_title; ?>
            </a> &gt;&gt;
            <a href="/website">体育专题</a>
        </p>

        <ul class="new-list">
            <?php foreach($doclist as $v): ?>
            <li class="item" style="width:100%;text-align:left;border-bottom:#ccc dashed 1px;padding-bottom: 15px;">
                <a href="/website/info/<?php echo $v['id']; ?>" style="color:#5d5a5a;">
                    <p>
                        <span style="float:right;">
                            <?php echo date('Y-m-d' , strtotime($v['update_time'])); ?>
                        </span>
                        <span style="color:#369;font-size:15px;font-weight:bold;">
                            <?php echo $v['title']; ?>
                        </span>
                        <div style="clear:both;"></div>
                    </p>
                    <p
                        style="    text-overflow: ellipsis;display: -webkit-box;-webkit-line-clamp: 2;    -webkit-box-orient: vertical;    display: -moz-box;    -moz-line-clamp: 2;    -moz-box-orient: vertical;    overflow-wrap: break-word;    word-break: break-all;    white-space: normal;    overflow: hidden;margin-top: 10px;">
                        <?php echo $v['desc']; ?>
                    </p>
                </a>
            </li>
            <?php endforeach; ?>
        </ul>

        <div class="paging">
            <ul>
                <li>总记录：<span>
                        <?php echo $doclist->total(); ?>
                    </span></li>
                <li><span>
                        <?php echo $doclist->currentPage(); ?>
                    </span>/<span>
                        <?php echo $doclist->lastPage(); ?>
                    </span></li>
            </ul>
            <?php echo $doclist->render(); ?>

        </div>
    </div>




    {include file="base/new-right" /}

</div>


{/block}